<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<style type="text/css">
		[v-cloak]{
			display: none;
		}
	</style>
	<body>
		
		<div id="app" v-cloak>
			<h2>{{message}}</h2>
			<h2 v-once>{{message}}</h2>
			<h2 v-html="url"></h2>
			<a v-bind:href="aHREF"></a>
		</div>
		<!-- //只渲染一次 -->
		<script type="text/javascript">
			setTimeout(function() {const app = new Vue({
				el:'#app',
				data:{
					message:'你好啊',
					url:'<a href="http://baidu.com">百度一下</a>',
					aHREF:'http://www.baidu.com'
				}
			})}
			, 1000);
			
		</script>
	
	</body>
</html>
